#include <stdio.h>

int main()

{
    int ch;
   	    
//    while ((ch = getchar())!= '\n')
      while ((ch = getchar())!='c')
      {   	      

          putchar(ch);

      }

      putchar('\n');

      return 0;

}	
